<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>道具商店 - 马蜂窝</title>
    <script type="text/javascript" src="/js/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="/js/plugins/jquery-form/jquery.form.js"></script>
    <script type="text/javascript" src="/js/bootstrap/js/bootstrap.js"></script>
    <script type="text/javascript" src="/js/plugins/messager/jquery.bootstrap.min.js"></script>
    <script type="text/javascript" src="/js/ueditor/umeditor.js"></script>
    <link rel="stylesheet" href="/js/bootstrap/css/bootstrap.css" type="text/css"/>
    <script type="text/javascript">
        window.Env = {
            "WWW_HOST": "www.mafengwo.cn",
            "IMG_HOST": "images.mafengwo.net",
            "W_HTTP": "http:\/\/w.mafengwo.cn",
            "P_HOST": "passport.mafengwo.cn",
            "P_HTTP": "https:\/\/passport.mafengwo.cn",
            "PAGELET_HTTP": "http:\/\/pagelet.mafengwo.cn",
            "JS_HOST": "js.mafengwo.net",
            "TONGJI_HOST": "tongji.mafengwo.cn",
            "UID": 85993674,
            "CSTK": "5270951a00914fb7753b4bf24ac82869_0121a11be24bfbc2313177d640d2f158",
            "GOOGLE_MAP_KEY": "AIzaSyD-Su0x_rPy1xehlMBcMyTqWkU49Bk53nQ",
            "MOBILE_BINDED": true
        };
    </script>

    <link href="http://css.mafengwo.net/css/cv/css+base:css+jquery.suggest:css+plugins:css+plugins+jquery.jgrowl:css+other+popup:css+app+topbar_v2^alw^1542357401.css"
          rel="stylesheet" type="text/css"/>


    <script language="javascript"
            src="http://js.mafengwo.net/js/cv/js+common+jquery.plugins:js+common+widgets:js+mfw.storage^ZlI^1537192880.js"
            type="text/javascript" crossorigin="anonymous"></script>
    <link href="http://css.mafengwo.net/css/daoju.css?1537192876" rel="stylesheet" type="text/css"/>
    <script language="javascript"
            src="http://js.mafengwo.net/js/cv/js+hb+hb:js+hb+common:js+hb+Request:js+m.sns.share:js+qa+common^ZVY^1555913877.js"
            type="text/javascript" crossorigin="anonymous"></script>
    <script>
        $(function () {



           /* $("._j_goods_tab").click(function () {
                if(!$(this).hasClass("active")){
                    $(".active._j_goods_tab").removeClass("active");
                    $(this).addClass("active")
                    //判断左右
                    if($(this).hasClass("left")){
                        $(".goodsList").css("display","block");
                        $(".mygoods").css("display","none")
                    }else{
                        $(".goodsList").css("display","none");
                        $(".mygoods").css("display","block")
                    }
                }
            })*/









            //编辑/添加
            $(".inputBtn").click(function () {
                //弹出模态框
                $("#editModal").modal("show");

                $("#treeview").html("");
                //数据复原
             //   $("#editForm").clearForm(true);

                //回显数据
                var data = $(this).data("gold");
                if (data) {
                    $("input[name='id']").val(data.id);
                    $("input[name='name']").val(data.name);
                    $("input[name='gold']").val(data.gold);
                    $("input[name='num']").val(data.num);
                    $(".modelprice").html("你购买的"+data.name+"将花费"+data.gold);

                }
            })

            //模态框表单提交
            $(".submitBtn").click(function () {
                //模态框表单提交
                $("#editForm").ajaxSubmit(function (data) {
                    if (data.success) {
                        /*$(".gold").html(data.userCoin);*/
                        //如果提交成功给出提示
                        alert("温馨提示: "+ data.msg);
                        window.location.reload();
                    } else {
                       alert("温馨提示", data.msg);
                    }
                })
            })
        })
    </script>
</head>
<body>

<div class="topBar">
    <div class="topBarC">
        <div class="logo"><a title="马蜂窝自由行" href="/">马蜂窝自由行</a></div>
        <div class="t_nav">
            <ul id="pnl_nav" data-cs-t="headnav_wo">
                <li data-cs-p="index">
                    <strong class="t"><a href="/">首页</a></strong>
                </li>
                <li data-cs-t="wenda" data-cs-p="wenda">
                    <strong class="t"><a data-cs-p="from_wo_nav" href="/wenda/">问答</a></strong>
                </li>
                <li data-cs-t="things" data-cs-p="things">
                    <strong class="t"><a data-cs-p="from_wo_nav" href="/mall/things.php">马蜂窝周边</a></strong>
                </li>
                <li data-cs-p="together">
                    <strong class="t"><a href="/together/">结伴</a></strong>
                </li>
                <li data-cs-p="group">
                    <strong class="t"><a href="/group/">小组</a></strong>
                </li>
                <li data-cs-p="mall">
                    <strong class="t"><a href="/club/">蜂首俱乐部</a></strong>
                </li>
                <li class="drop" data-cs-p="other">
                    <strong class="t"><a href="/app/hun.php">更多<b></b></a></strong>
                    <div class="c">

                        <a href="/focus/" target="_blank">真人兽</a>

                        <a href="/school/" target="_blank">马蜂窝高校</a>
                        <a href="/photo_pk/prev.php" target="_blank">照片PK</a>
                        <a href="/auction/" target="_blank">马蜂窝拍卖行</a>
                        <a href="/mall/virtual_goods.php" target="_blank">道具商店</a>
                        <a href="/radio/" target="_blank">旅行电台</a>
                        <a href="/club/" target="_blank">蜂首聚乐部</a>
                        <a href="/home/vip_show.php" target="_blank">VIP</a>
                        <a href="/game/wager.php" target="_blank">分歧终端机</a>
                    </div>
                </li>
            </ul>
        </div>
        <div class="t_search">
            <form method="GET" action="/search/s.php" name="search">
                <input type="text" class="key" value="" name="q" id="word">
                <input type="submit" value="" class="btn">
            </form>
        </div>

        <div class="t_info">
            <div data-pagelet id="pagelet-block-c20b7270f5cc69ca791cf7fe1c58e0f4" class=""
                 data-api="apps:user:pagelet:pageViewHeadInfo" data-params="{&quot;type&quot;:2}" data-async="1"
                 data-controller="/js/pageletcommon/pageHeadUserInfoWWWDark"></div>
        </div>
    </div>
</div>


<div class="container">

    <div class="mt-nav clearfix">
            <span class="nav-wealth">我的蜂蜜：<b id="_j_exchange_honey">1</b>
        <var>/</var>
    <a class="btn" href="/mall/my_exchange.php#list" target="_blank"><i></i>我的兑换</a></span>
        <a href="/i/2947856.html" class="mt_what" title="蜂蜜是什么" target="_blank">蜂蜜是什么？如何获得蜂蜜</a>
        <a href="/mall/">蜂蜜兑换</a>
        <a href="/mall/things.php">马蜂窝周边<span>HOT</span></a>
        <!-- <a href="/mall/lottery.php"  >幸运大转盘</a> -->
        <a href="/mall/zhongchou.php?zid=10002">蜂蜜众筹<i class="ask_new_ico"></i></a>
        <a href="/mall/virtual_goods.php" class="on">道具商店</a>
    </div>


    <!-- banner -->
    <div class="banner">
        <img src="http://images.mafengwo.net/images/daoju/banner.jpg" alt="">
    </div>

    <div class="row clearfix">
        <div class="col-main">

            <div class="daoju_tab">
                <a class="active _j_goods_tab" data-index="0">道具商店</a>
                <a  <#--class="_j_goods_tab" data-index="1""--> href="/small/tab">我的道具</a>
                <strong style="left: 0px"></strong>
            </div>
            <div class="daoju_list clearfix _j_goods_list" data-flag="0" data-total="2">
                <ul>
                    <#list pageInfo.list as s>
                        <li class="_j_goods_li">
                            <div class="info">
                                <a href="/small/intro?goodsId=${s.id}" target="_blank">
                                    <img src="${(s.imgurl)!}" alt="${s.name}">
                                    <div class="name">${s.name}<span>剩余${s.num}</span>
                                    </div>
                                    <i class="state1"></i>
                                </a>
                            </div>
                            <div class="buy">
                                <span><i class="icon_gold"></i>${s.gold}</span><br>
                                <#--  <a class="btn_buy disabled _j_not_buy">购买</a>-->

                                <a class="btn btn-info btn_buy inputBtn" href="javascript:;" data-gold='${s.jsonString}'>
                                    <span class="glyphicon glyphicon-edit"></span> 点击购买
                                </a>
                            </div>
                        </li>
                    </#list>
                    <li class="coming_soon">
                        <div class="info"></div>
                    </li>
                </ul>
            </div>
            <div class="pagin" id="smallpager"></div>

        </div>
        <div class="col-side">

            <div class="side_my">
                <p>你的金币</p>
                <div class="gold"><i></i>${mycoin}</div>
                <div class="honey">还有蜂蜜:<span>1</span></div>
            </div>

            <div class="side_cmt">
                <div class="tit">留言板</div>
                <div class="con">
                    <div id="_j_comment_cnt">

                        <div class="addComment clearfix">
                            <div class="pub">
                                <textarea class="_j_comment_pubarea"></textarea>
                                <input type="button" class="_j_comment_pubbtn" value="发表留言">
                            </div>
                        </div>


                        <div class="commentList _j_comment_list"></div>
                        <div class="page _j_comment_pagination"></div>



                        <script>
                        </script>

                    </div>

                </div>
            </div>

        </div>
    </div>
</div>



<script>


</script>

<link href="http://css.mafengwo.net/css/mfw-footer.css?1558532347" rel="stylesheet" type="text/css"/>

<div id="footer">
    <div class="ft-content" style="width: 1105px">
        <div class="ft-copyright">
            <a href="http://www.mafengwo.cn"><i class="ft-mfw-logo"></i></a>
            <p>© 2019 Mafengwo.cn <a href="http://www.miibeian.gov.cn/" target="_blank"
                                     rel="nofollow">京ICP备11015476号</a> <a
                        href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010502013401"
                        target="_blank"><img src="http://images.mafengwo.net/images/footer/police_record.png" width="12"
                                             style="margin:0 2px 4px 0;">京公网安备11010502013401号</a> <a
                        href="http://images.mafengwo.net/images/about/icp2.jpg" target="_blank" rel="nofollow">京ICP证110318号</a><span
                        class="m_l_10">违法和不良信息举报电话: 010-59222790 举报邮箱: mfwjubao@mafengwo.com</span></p>
            <p>网络出版服务许可证：(总)网出证(京)字第161号<span class="m_l_10">增值电信业务经营许可证：京B2-20180228</span> <a
                        href="https://n1-q.mafengwo.net/s12/M00/A5/45/wKgED1xJi3uAA7KLAAf_CkKLHRQ87.jpeg"
                        target="_blank" rel="nofollow" class="m_l_10">营业执照</a><a href="/sales/uhelp/doc" target="_blank"
                                                                                 rel="nofollow"
                                                                                 class="m_l_10">帮助中心</a><span
                        class="m_l_10">马蜂窝客服：国内</span><span class="highlight">4006-345-678</span><span
                        class="m_l_10">海外</span> <span class="highlight">+86-10-5922-2799</span></p>
        </div>
        <div class="ft-safety">
            <a class="s-a" target="_blank" href="https://search.szfw.org/cert/l/CX20140627008255008321"
               id="___szfw_logo___"></a>
            <a class="s-b" href="https://ss.knet.cn/verifyseal.dll?sn=e130816110100420286o93000000&ct=df&a=1&pa=787189"
               target="_blank" rel="nofollow"></a>
            <a class="s-c" href="http://www.itrust.org.cn/Home/Index/itrust_certifi/wm/1669928206.html" target="_blank"
               rel="nofollow"></a>
            <a class="s-d" href="http://www.itrust.org.cn/Home/Index/satification_certificate/wm/MY2019051501.html"
               target="_blank" rel="nofollow"></a>
        </div>

    </div>
</div>


<link href="http://css.mafengwo.net/css/mfw-toolbar.css?1537192876" rel="stylesheet" type="text/css"/>

<div class="mfw-toolbar" id="_j_mfwtoolbar">
    <div class="toolbar-item-top">
        <a role="button" class="btn _j_gotop">
            <i class="icon_top"></i>
            <em>返回顶部</em>
        </a>
    </div>
    <div class="toolbar-item-feedback">
        <a role="button" data-japp="feedback" class="btn">
            <i class="icon_feedback"></i>
            <em>意见反馈</em>
        </a>
    </div>
    <div class="toolbar-item-code">
        <a role="button" class="btn">
            <i class="icon_code"></i>
        </a>
        <a role="button" class="mfw-code _j_code">


            <img src="https://p1-q.mafengwo.net/s1/M00/6C/51/wKgIC1t_6TuASybrAADGUPUHjr021.jpeg?imageMogr2%2Fthumbnail%2F%21450x192r%2Fgravity%2FCenter%2Fcrop%2F%21450x192%2Fquality%2F90"
                 width="450" height="192">
        </a>
    </div>
    <div class="toolbar-item-down">
        <a role="button" class="btn _j_gobottom">
            <i class="icon_down"></i>
            <em>页面底部</em>
        </a>
    </div>
</div>




<#--目的地编辑模态框-->
<div class="modal fade" id="editModal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">道具购买</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" action="/small/buy" method="post" id="editForm">
                    <input type="hidden" name="id" value=""><br>
                    <input type="hidden" value="" name="gold"><br>
                    <input type="hidden" value="" name="num"><br>
                    <h4 class="modelprice"></h4>
                    <div class="form-group">
                        <div class="col-sm-12">

                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary submitBtn">确认</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>

</body>


</html>
